/* 移动端 */
@media screen and (max-width: 800px) {
    .category { margin: 20px auto; }
    .discovery {
        width: calc(100% - 55px);
        padding: 0 0 5px 0;
        margin: 0 auto;
    }
    .posts-wrap { padding: 25px 25px; }
    .posts-item { flex-direction: column; }
    .posts-item__image { width: 100%; height: 195px; }
    .info__brief { -webkit-line-clamp: 4; }
    .posts-none__img { width: 100%; }
}

/* PC端 */
@media screen and (min-width: 800px) {
    .category {
        width: 70%;
        max-width: 830px;
        margin: 40px auto;
    }
    .discovery {
        width: 70%;
        max-width: 810px;
        padding: 0 5px 5px 5px;
        margin: 0 auto 50px auto;
    }
    .posts-wrap { width: 70%; margin: 0 auto; }
    .posts-item { height: 300px; }
    .posts-item:nth-child(odd) { flex-direction: row-reverse; }
    .posts-item:nth-child(even) { flex-direction: row; }
    .posts-item__image { width: 50%; height: 100%; }
    .posts-item__infos { width: 50%; height: 100%; }
    .info__title {
        text-align: justify;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .info__brief { -webkit-line-clamp: 3; }
    .posts-none__img { width: 400px; }
}

.container {
    padding-bottom: 40px;
}

.banner {
    position: relative;
    height: 30vh;
}

.banner img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.category {
    padding: 20px;
    border-radius: 10px;
}

.category span {
    padding: 5px 20px;
    background: #e73c7e;
    border-radius: 5px;
    color: #FFF;
}

.discovery {
    color: #797979;
    border-bottom: 1px dashed #DDD;  
}

.discovery span:first-child {
    font-size: 20px;
}

.posts-list {
    max-width: 824px;
    margin: 20px auto 40px;
}

.posts-item {
    display: flex;
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
}

.posts-item__image {
    overflow: hidden;
}

.posts-item__image img {
    width: 100%;
    height: 100%;
	object-fit: cover;
    transition: all .5s ease;
}

.posts-item__image img:hover {
    transform: scale(1.3);
}

.posts-item__infos {
    padding: 20px 35px;
    box-sizing: border-box;
}

.info__dates {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #797979;
}

.info__dates span:first-child {
    margin-right: 4px;
}

.info__title {
    color: #333;
}

.info__total {
    display: flex;
    font-size: 12px;
    color: #797979;
    margin-bottom: 15px;
}

.total__item {
    margin-right: 15px;
}

.total__item:last-child {
    margin-right: 0;
}

.total__item span:first-child {
    margin-right: 5px;
}

.info__brief {
    color: #333;
    font-size: 15px;
    line-height: 1.7;
    text-align: justify;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.info__types {
    display: flex;
    margin-top: 20px;
}

.types__item {
    padding: 3px 10px;
    background-color: #eee;
    border-radius: 3px;
    font-size: 14px;
    color: #797979;
    transition: all .3s;
    cursor: pointer;
}

.types__item span:first-child {
	margin-right: 5px;
}

.posts-none {
    text-align: center;
}

.posts-none__img {
    opacity: .3;
    margin-top: 100px;
}

.posts-none__txt {
    color: #888;
    margin: 50px 0 200px 0;
}

.paging {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.paging__button {
    border: 1px solid green;
    color: green;
    padding: 5px 10px;
    border-radius: 20px;
    background-color: transparent;
    transition: all .3s linear;
}

.paging__button:hover {
    background-color: green;
    color: #fff;
}

.paging__button:disabled {
    border: 1px solid #999;
    color: #999;
    cursor: not-allowed;
}

.paging__button:disabled:hover {
    color: #999;
    background-color: transparent;
}